package com.plian.system.entity.im;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * @author panqb
 * @version 1.0
 * @description: 基金项目投资计划执行 实体类
 * @date 2022/4/15 下午3:30
 */
@Data
@TableName("im_fund_project_execution")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "FundProjectExecution对象", description = "基金项目投资计划执行")
public class FundProjectExecution extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 编码
     */
    @ApiModelProperty(value = "编码")
    private String code;
    /**
     * 填报年月
     */
    @ApiModelProperty(value = "填报年月", required = true)
    private String filingMonth;
    /**
     * 填报单位
     */
    @ApiModelProperty(value = "填报单位")
    private String filingUnitId;
    /**
     * 审批人
     */
    @ApiModelProperty(value = "审批人")
    private String approvedUser;
    /**
     * 审批时间
     */
    @ApiModelProperty(value = "审批时间")
    private Date approvedTime;
    /**
     * 审批意见
     */
    @ApiModelProperty(value = "审批意见")
    private String approvedOpinion;
    /**
     * 表单审批类型
     */
    @ApiModelProperty(value = "表单审批类型")
    private String formType;

    @TableField(exist = false)
    private List<FundProject> fundProjects;

    /**
     * 数据来源 null为系统填报 对应用户id
     */
    @ApiModelProperty(value = "数据来源 null为系统填报 对应用户id")
    private String dataSource;

    /**
     * 数据来源id
     */
    @ApiModelProperty(value = "数据来源id", required = true)
    private String dataSourceId;
}
